import axios from 'axios'

export interface SysUser {
	userId: number | undefined

	name: string

	nickName: string

	phonenumber: number | undefined

	status: number | undefined

	createTime: string

	beginEndTime?: string[]

	deptName: string

	current?: number | undefined,

	pageSize?: number | undefined
}

// 获取用户信息列表
export function getUserList(params: SysUser) {
	return axios.get<SysUser[]>('/sys_user/list', { params })
}